package com.asset.salesforce.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Table(name="invoice_service")
@Entity
@PrimaryKeyJoinColumn(name="invoice_item_parent_id")
public class InvoiceService extends InvoiceItemParent{
	private String discount;
	private String hours;
	private String costPerHour;
	private String totalCost;
	/**
	 * @return the id
	 */
	/**
	 * @return the discount
	 */
	@Column(name="discount")
	public String getDiscount() {
		return discount;
	}
	/**
	 * @param discount the discount to set
	 */
	public void setDiscount(String discount) {
		this.discount = discount;
	}
	/**
	 * @return the hours
	 */
	@Column(name="hours")
	public String getHours() {
		return hours;
	}
	/**
	 * @param hours the hours to set
	 */
	public void setHours(String hours) {
		this.hours = hours;
	}
	/**
	 * @return the costPerHour
	 */
	@Column(name="cost_per_hour")
	public String getCostPerHour() {
		return costPerHour;
	}
	/**
	 * @param costPerHour the costPerHour to set
	 */
	public void setCostPerHour(String costPerHour) {
		this.costPerHour = costPerHour;
	}
	/**
	 * @return the totalCost
	 */
	@Column(name="total_cost")
	public String getTotalCost() {
		return totalCost;
	}
	/**
	 * @param totalCost the totalCost to set
	 */
	public void setTotalCost(String totalCost) {
		this.totalCost = totalCost;
	}
	
}
